<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>查看详情</title>

<link href="/res/third/bootstrap3/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="/res/third/bootstrap3/bootstrap.min.js" type="text/javascript"></script>
<script src="/res/common/js/jquery.1.9.1.min.js" type="text/javascript"></script>
<script src="/res/third/bootstrap3/jsone/bootstrap.min.js" type="text/javascript"></script>
<script src="/res/third/artDialog/jquery.artDialog.js" type="text/javascript"></script>
<script src="/res/third/validate/jquery.validate.js" type="text/javascript"></script>
<script src="/res/common/js/jquery.address.js" type="text/javascript"></script>
<script>
 
var exceldialog=null;
function uploaddialog(val){
	var param ={picval:val};
	exceldialog = art.dialog.uploadFile("上传图片",{callback:"uploadcallback",params:JSON.stringify(param),userpath:"admin",extensions:"gif,jpg,png,jpeg"});
}

function uploadcallback(response,params){
	//alert(response.url);
	//alert(params.id);
	exceldialog.close();
	$("."+params.picval+"img").attr("src",response.url);
	$("."+params.picval+"hide").val(response.url);
	$("#"+params.picval+"url").attr("href",response.url);
	$("#"+params.picval+"url").text(response.url);
}
function enable(id,enable){
	$.ajax({
		   type: "post",
		   dataType:"json",
		   url: "changeEnable.do",
		   data:{id:id,enable:enable},
		   beforeSend:function(){
			    art.dialog.tips("修改中...");
		   },
		   success: function(data){//成功的时候调用
			   if(data==1){
				   location.reload();
			   }else{
				   alert("修改失败");
			   }
		   }
	});
}
 
$().ready(function(){
    $(".tagli").click(function(){
    	$(".tagli").removeClass("active");
    	$(this).addClass("active");
    	var tagindex=$(this).attr("id").substring(6);
    	$(".detilchild1,.detilchild2,.detilchild3,.detilchild4").hide();
    	$(".detilchild"+tagindex).show();
    })
    $(".detailchildtr").hover(function(){
    	$(this).children(".doEdit").show();
    },function(){
    	$(this).children(".doEdit").hide();
    });
    
    $(".doEdit").click(function(){
    	 
    	var editdialog = art.dialog({
 	        title: "编辑",
 	        lock:true,
 	        content: $(this).next(".alleditdiv")[0]
 	    });
    })
	/*
    $(".RegSheng,.BusSheng").change(function(){
    	var thisnode=$(this);
    	var code=$(this).val();
    	$.ajax({
 		   type: "post",
 		   dataType:"json",
 		   url: "querycityBycode.do",
 		   data:{code:code},
 		   success: function(data){
 			  thisnode.parents(".detailchildtd").find(".RegShi,.BusShi").children().remove();
 			  thisnode.parents(".detailchildtd").find(".RegQu,.BusQu").children().remove();
 			   if(data.length>0){
 				  for (var i = 0; i < data.length; i++) {
 					 thisnode.parents(".detailchildtd").find(".RegShi,.BusShi").append("<option value='"+data[i].code+"'>"+data[i].name+"</option>");
 				  }
 			   }
 		   }
 	  });
    })
    $(".RegShi,.BusShi").change(function(){
    	var thisnode=$(this);
    	var code=$(this).val();
    	$.ajax({
 		   type: "post",
 		   dataType:"json",
 		   url: "querycityBycode.do",
 		   data:{code:code},
 		   success: function(data){
 			  thisnode.parents(".detailchildtd").find(".RegQu,.BusQu").children().remove();
 			   if(data.length>0){
 				  for (var i = 1; i < data.length; i++) {
 					 thisnode.parents(".detailchildtd").find(".RegQu,.BusQu").append("<option value='"+data[i].code+"'>"+data[i].name+"</option>");
 				  }
 			   }
 		   }
 	    });
    }); 
    */
    $(".submitjb").click(function(){
    	$(this).parents("form").submit();
    });
    $("#saveField").click(function(){
    	var companymain={};
    	var companyApplifields=[];
    	var companyCategorys=[];
    	companymain.id=$("#companyid").val();
    	companymain.editType="field";
    	$("[name='chooseCates']:checked").each(function(){
    		var categoryName=$(this).attr("data-catename");
    		companyCategorys.push(
    			{
    				companyId:$("#companyid").val(),
    				categoryId:$(this).val(),
    				categoryName:categoryName
    			}		
    		);
    	});
    	$("[name='chooseApps']:checked").each(function(){
    		var applifieCode=$(this).val();
    		var applifieName=$(this).attr("data-appname");
    		companyApplifields.push(
    			{
    				companyId:$("#companyid").val(),
    				applifieCode:applifieCode,
    				applifieName:applifieName
    			}		
    		);
    	});
    	
    	companymain.companyApplifields=companyApplifields;
    	companymain.companyCategorys=companyCategorys;
    	
    	art.dialog.post({
    		  
    			type : "post",
    			dataType : "json",
    			contentType : "application/json; charset=utf-8",
    			url : "/company/company_editField.do",
    			data : JSON.stringify(companymain),
    			success : function(data) {//成功的时候调用
    				 alert(data.msg);
    				 if(data.success){
    					 location.reload();
    				 }
    			}
		 
		},"数据正在提交.... ");
    });
    
    $(".editrole").click(function(){
    	if($(".editrole:checked").length==0){
    		alert("采购商和供应商至少选择一个");
    		$(".editrole").prop("checked",true);
    	}
    })
    
    $("#editformsub").submit(function(){
    	var t=/^([1-9]\d*|0)(\.\d{1,2})?$/;
    	var zczb=$("#zczb").val();
    	if(zczb!=""){
    		if(!t.test(zczb)){
    			alert("注册资本格式不正确");
    			return false;
    		}
    	}
    })
    
    $.address({
		province : 'reg_province',
		city : 'reg_city',
        district : 'reg_district',
        success : function() {
            console.log('success');
        }
	});
    
    $.address({
		province : 'bus_province',
		city : 'bus_city',
        district : 'bus_district',
        success : function() {
            console.log('success');
        }
	});
    
});

</script>
<style type="text/css">
		.showdetailssty{width: 1200px;background-color: #fff;margin: 0 auto;height: 100%;overflow-x:auto;overflow-y:auto;border-left: 1px solid #ddd;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;height: 92%;}
		.detilspecilfont{float: left;height: 49px;width: 82px;line-height: 63px;text-align: center;margin-left: 10px;font-weight: bold;border-bottom: 3px solid #30A6D4;}
		.detilspecildel{height: 34px;width: 50px;float: right;text-align: center;line-height: 34px;background-color: #3F85F6;color: #fff;border-radius:3px;margin-top: 7px;margin-right: 10px;cursor: pointer;}
		.detailchildtr{min-height: 46px;font-size: 12px;width: 100%;display: inline-block;position: relative;}
		.detailchildtd{width: 97%;height: 100%;line-height: 46px;margin: 0 auto;border-bottom: 1px solid #ddd;}
		.detailchildtd:hover{background-color: #F2F2F2;}
		.spcfont{display: inline-block;width: 108px;text-align: right;float: left;}
		.showAsset{display: inline-block;float: left;width: 250px;height: 270px;margin-right: 34px;position: relative;margin-left: 11px;margin-top: 11px;padding: 15px;border: 1px solid #f2f2f2;}
		.detilchild3{display: inline-block;width: 100%;}
		.detilchild1,.detilchild2,.detilchild4{border-bottom: none;width: 100%;}
		.showeditstext{display: inline-block;line-height: 26px;}
		.showeditstext input{border:1px solid #ddd;}
		.doEdit{width: 40px;height: 30px;line-height: 30px;background-color: blue;color: #fff;position: absolute;right: 18px;bottom:8px;text-align: center;border-radius:5px;display: none;cursor: pointer;}
		.alleditdiv{display: none;width: 300px;}
		.toptext{display: inline-block;font-weight: bold;line-height: 35px;}
		.centext{display: inline-block;}
		.btnok{display: inline-block;width: 68px;line-height: 34px;margin-top: 11px;background-color: #81B5DF;text-align: center;border-radius:5px;color: #fff;font-weight: bold;float: right;margin-left: 10px;cursor: pointer;}
		.edinputext{line-height: 28px;border-radius:5px;box-shadow:inset 0 2px 2px #eee;min-width: 233px;border: 1px solid #A9A9A9;}
		.btnrefresh{display: inline-block;width: 68px;line-height: 34px;margin-top: 11px;background-color: #81B5DF;text-align: center;border-radius:5px;color: #fff;font-weight: bold;float: right;cursor: pointer;}
		.texton{background-color: #fff;padding: 7px;border-radius:5px;}
		.showareasbtn{display: inline-block;width: 68px;line-height: 34px;margin-top: 11px;background-color: #81B5DF;text-align: center;border-radius:5px;color: #fff;font-weight: bold;float: left;cursor: pointer;position: relative;}
		.showareas{position: absolute;width: 690px;height: 253px;left: -183px;top: -254px;background-color: #fff;color:#7BB1DD;z-index: 9999;border-radius:9px;box-shadow:inset 0 3px 138px #DEE;}
		.showareas span{display: inline-block;width: 138px;font-size: 12px;float: left;position: relative;}
		.showcatesbtn{display: inline-block;width: 68px;line-height: 34px;margin-top: 11px;background-color: #81B5DF;text-align: center;border-radius:5px;color: #fff;font-weight: bold;float: left;cursor: pointer;position: relative;}
		.showcates{position: absolute;width: 500px;height: 253px;left: -107px;top: -254px;background-color: #fff;color:#7BB1DD;z-index: 9999;border-radius:9px;box-shadow:inset 0 3px 138px #DEE;}
		.showcates span{display: inline-block;float: left;width: 249px;text-align: left;padding-left: 50px;padding-top: 6px;}
		.areacheckspan{position: absolute;left:5px;top: 3px;}
		.areacheck{}
		.showpictr{font-size: 12px;width: 100%;display: inline-block;position: relative;min-height:120px;border-bottom: 1px solid #DDDDDD;padding-bottom: 5px;}
		.showpicblock{display: block;width: 120px;height: 120px;float: left;margin-left: 20px;border: 1px solid #F2F2F2;}
		.showpicfont{display: inline-block;line-height: 120px;float: left;margin-left: 64px;text-align: left;width: 77px;}
		.uploadpic{width: 73px;height: 30px;position: absolute;text-align: center;font-weight: bold;background-color: #337ab7;color: #fff;line-height: 30px;border-radius:5px;left: 304px;top:88px;cursor: pointer;}
		.douploadpic{width: 73px;height: 30px;position: absolute;text-align: center;font-weight: bold;background-color: blue;color: #fff;line-height: 30px;border-radius:5px;left: 390px;top:88px;cursor: pointer;}
		.spchead{padding-right: 12px;}
		.submitjb,.submit2,.subtype{display:inline-block; width: 73px;height: 30px;text-align: center;font-weight: bold;background-color: #337ab7;color: #fff;line-height: 30px;border-radius:5px;cursor: pointer;float: left;margin-left: 107px;margin-top: 10px}
		 
		input::-webkit-outer-spin-button,
		input::-webkit-inner-spin-button{
		    -webkit-appearance: none !important;
		    margin: 0; 
		}
		input[type="number"]{-moz-appearance:textfield;}
</style>
</head>
<body>
	<ul id="maintag" class="nav nav-tabs" style="width: 1200px;margin:auto;font-weight: bold;margin-top: 5px;">
	   <li class="tagli active" id="tagli-1"><a href="#">基本资料</a></li>
	   <li class="tagli" id="tagli-2"><a href="#">经营领域</a></li>
	   <li class="tagli" id="tagli-3"><a href="#">公司资质</a></li>
	   <li class="tagli" id="tagli-4"><a href="#">财务信息</a></li>
	</ul>
	
	<div id="showdetailsdiv" class="showdetailssty">
			<div class="detilchild1">
				<form id="editformsub" action="/company/company_edit.do" method="post" class="form-horizontal">
				<input name="id" type="hidden" value="${company.id!}">
				<input name="editType" type="hidden" value="basic">
				<!--<input name="ifAuthen" type="hidden" value="${company.ifAuthen!}">-->
				<input name="auditState" type="hidden" value="${company.auditState!}">
				<input name="removed" type="hidden" value="${company.removed!}">
				<div class="showpictr">
					 <div class="showpicfont">公司logo：</div>
					 <div class="showpicblock">
					 	  <img class="logoimg" src="${companyinfo.logo!}" style="width: 100%;height: 100%;">
					 </div>
					 <input name="companyInfo.logo" class="logohide" type="hidden" value="${companyinfo.logo!}">
					 <div class="uploadpic" onclick="uploaddialog('logo')">重新上传</div>
					 <div style="display: inline-block;float: left;width: 100%;padding-left: 160px;padding-top: 7px;">
					 	 <a id="logourl" target="_blank" href="${companyinfo.logo!}">${companyinfo.logo!}</a>
					 </div>
				</div>
				<div class="showpictr">
					 <div class="showpicfont">营业执照：</div>
					 <div class="showpicblock">
					 	  <img class="buslicenimg" src="${companyinfo.businessLicense!}" style="width: 100%;height: 100%;">
					 </div>
					 <input name="companyInfo.businessLicense" class="buslicenhide" type="hidden" value="${companyinfo.businessLicense!}">
					 <div class="uploadpic" onclick="uploaddialog('buslicen')">重新上传</div>
					 <div style="display: inline-block;float: left;width: 100%;padding-left: 160px;padding-top: 7px;">
					 	 <a id="buslicenurl" target="_blank" href="${companyinfo.businessLicense!}">${companyinfo.businessLicense!}</a>
					 </div>
				</div>
				<div class="showpictr">
					 <div class="showpicfont">授权证明：</div>
					 <div class="showpicblock">
					 	  <img class="authCertifyimg" src="${companyinfo.authCertify!}" style="width: 100%;height: 100%;">
					 </div>
					 <input name="companyInfo.authCertify" class="authCertifyhide" type="hidden" value="${companyinfo.authCertify!}">
					 <div class="uploadpic" onclick="uploaddialog('authCertify')">重新上传</div>
					 <div style="display: inline-block;float: left;width: 100%;padding-left: 160px;padding-top: 7px;">
					 	 <a id="authCertifyurl" target="_blank" href="${companyinfo.authCertify!}">${companyinfo.authCertify!}</a>
					 </div>
				</div>
				<div class="detailchildtr">
					<div class="detailchildtd"><span class="spcfont">公司名称：</span>
						<input type="text" class="edinputext" name="companyName"  value="${company.companyName!}" required="required">
						[#if topcompany??]<span style="padding-left:10px">总公司名称：${topcompany.companyName!}</span>[/#if]
					</div>
				</div>
				[#if company.auditState?? && company.auditState==0]
				<!--<div class="detailchildtr">
					<div class="detailchildtd"><span class="spcfont">身份选择：</span> 
							供应商：<input class="editrole" type="checkbox" name="isprovider"  value="1" [#if company.isprovider=1]checked="checked"[/#if]>
						 	采购商：<input class="editrole" type="checkbox" name="ispurchaser" value="1" [#if company.ispurchaser=1]checked="checked"[/#if]>
					</div> 
				</div>  -->
				 
				[/#if]
				[#if company.isprovider=1] 
					<div class="detailchildtr">
						<div class="detailchildtd"><span class="spcfont">经营模式：</span>
							<input type="radio" name="providerMode" value="1"  [#if company.providerMode?? ] [#if company.providerMode=1]checked="checked"[/#if] [/#if]>厂家&nbsp;
							<input type="radio" name="providerMode" value="2"  [#if company.providerMode?? ] [#if company.providerMode=2]checked="checked"[/#if] [/#if]>代理商
						</div> 
					</div>
				[/#if]
				<div class="detailchildtr">
						<div class="detailchildtd"><span class="spcfont">是否自营：</span>
							<input type="radio" name="ifSelf" value="1"  [#if company.ifSelf?? ] [#if company.ifSelf=1]checked="checked"[/#if] [/#if]>是&nbsp;
							<input type="radio" name="ifSelf" value="0"  [#if company.ifSelf?? ] [#if company.ifSelf=0]checked="checked"[/#if] [/#if]>否
						</div> 
				</div>
				<div class="detailchildtr">
					<div class="detailchildtd"><span class="spcfont">注册地址：</span>
								<select id="reg_province" class="RegSheng" data-val="${company.companyInfo.regProvince!}" name="companyInfo.regProvince" style="height: 28px;width: 75px;border-radius:5px;">
									 
							 	</select>
								<select id="reg_city" class="RegShi" data-val="${company.companyInfo.regCity!}" name="companyInfo.regCity" style="height: 28px;width: 75px;border-radius:5px;">
									 
								</select>
								<select id="reg_district" class="RegQu" data-val="${company.companyInfo.regArea!}" name="companyInfo.regArea" style="height: 28px;width: 75px;border-radius:5px;">
									 
								</select>
						</div> 
				</div>
				<div class="detailchildtr">
					<div class="detailchildtd"><span class="spcfont">经营地址：</span>
								<select id="bus_province" class="BusSheng" data-val="${company.companyInfo.businessProvince!}" name="companyInfo.businessProvince" style="height: 28px;width: 75px;border-radius:5px;">
								 
								</select>
								<select id="bus_city" class="BusShi" data-val="${company.companyInfo.businessCity!}" name="companyInfo.businessCity" style="height: 28px;width: 75px;border-radius:5px;">
									 
								</select>
								<select id="bus_district" class="BusQu" data-val="${company.companyInfo.businessArea!}" name="companyInfo.businessArea"  style="height: 28px;width: 75px;border-radius:5px;">
									 
								</select>
						</div> 
				</div>
				<div class="detailchildtr">
					<div class="detailchildtd"><span class="spcfont">注册资本：</span>
						<input id="zczb" class="edinputext" type="text" name="companyInfo.registercapital" value="${companyinfo.registercapital!}" required="required">
						万[#if companyinfo.currency == 1]元[#else]美元[/#if]
					</div> 
				</div>
				
				<div class="detailchildtr">
					<div class="detailchildtd"><span class="spcfont">法人代表：</span>
						<input class="edinputext" type="text" name="companyInfo.legalperson" value="${companyinfo.legalperson!}" required="required">
					</div> 
				</div>
				 
				<div class="detailchildtr">
					<div class="detailchildtd"><span class="spcfont">税号：</span>
						<input class="edinputext" type="number" name="companyInfo.taxNumber" value="${companyinfo.taxNumber!}">
					</div>
				</div>
				<div class="detailchildtr">
					<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont" style="float: left;">公司简介：</span>
						<textarea rows="10" cols="" class="edinputext" style="width: 700px;margin-top: 8px;" name="companyInfo.companyInfo">${companyinfo.companyInfo!}</textarea>
					</div> 
				</div> 
				<div class="detailchildtr" style="border-bottom: none;">
					<div class="detailchildtd">
						 <input style="line-height: 25px;" class="subtype" type="submit" value="保存">
						 <!-- 
						 <span class="submitjb">保存</span> 
						 <span class="submitjb" onclick="history.go(-1);" style="margin-left: 18px;">返回</span>
						  -->
					</div> 
				</div> 
				</form>
			</div>
		 
			 <!-- 经营领域 -->
			<div class="detilchild2" style="display: none;">
				<input id="companyid" name="id" type="hidden" value="${company.id!}">
				<div class="detailchildtr">
					<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont" style="height: 75px;float: left;">经营系统：</span>
						 <span>
						   [#list procates as cateall]
						   <span data-cateid="${cateall.id!}">
						   		<input name="chooseCates" class="catescheck" data-catename="${cateall.name!}" value="${cateall.id!}" type="checkbox" [#list company.companyCategorys as cate][#if cate.categoryId==cateall.id]checked="checked"[/#if] [/#list]> ${cateall.name!}
						   </span>		
						   [/#list]
					 	</span>
					</div>  
				</div>
				<div class="detailchildtr">
					<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont">应用领域：</span>
						 <span>
						    [#list applifies as app]
						   <span data-cateid="${app.id!}">
						   		<input name="chooseApps" class="catescheck" data-appname="${app.name!}" value="${app.code!}" type="checkbox" [#list company.companyApplifields as appli][#if appli.applifieCode==app.code]checked="checked"[/#if][/#list]> ${app.name!}
						   </span>		
						   [/#list]
					 	 </span>
					</div>  
				</div>
				<div class="showpictr" style="border-bottom: none;">
					 <div class="showpicfont">营业执照：</div>
					 <div class="showpicblock">
					 	  <img class="buslicenimg" src="${companyinfo.businessLicense!}" style="width: 100%;height: 100%;">
					 </div>
					 <div style="display: inline-block;float: left;width: 100%;padding-left: 160px;padding-top: 7px;">
					 	 <a id="buslicenurl" target="_blank" href="${companyinfo.businessLicense!}">${companyinfo.businessLicense!}</a>
					 </div>
				</div>
				<div class="detailchildtr" style="border-bottom: none;">
					<div class="detailchildtd">
						 <span id="saveField" class="submit2">保存</span>
						 <!--   
						 <span class="submitjb" onclick="history.go(-1);" style="margin-left: 18px;">返回</span>
						 -->
					</div> 
				</div>
			</div>
			 <!-- 公司资质 -->
			<div class="detilchild3" style="display: none;">
				[#list company.companyAssets as asset]
				 <div class="showAsset">
				 	  <input id="asset${asset.id!}" type="hidden" value="${asset.id!}">
				 	  <span style="width: 100%;height: 20px;display: inline-block;text-align: center;font-size: 12px;font-weight: bold;color: #8C7AB7;">${asset.name!}</span>
				 	  <span style="display: inline-block;width: 100%;height:220px;text-align: center;"><img style="max-width: 100%;max-height: 100%;" src="${asset.attachfile!}"> </span>
				 </div>
				[/#list]
			</div>
			 <!-- 财务信息 -->
			<div class="detilchild4" style="display: none;">
				<form action="/company/company_edit.do" method="post" class="form-horizontal">
				<input name="id" type="hidden" value="${company.id!}">
				<input name="editType" type="hidden" value="finance">
				<div class="detailchildtr" style="background-color: #F2F2F2;border-bottom: none;margin: 10px 0px 10px 0px;">
					<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont spchead">平安账户</span></div>
				</div>
					[#if account??]
						<div style="margin-left: 50px;">
							<p>开户行名称：${account.bankName!}</p>
							<p>账号名称：${account.acctName!}</p>
							<p>账号：${account.relatedAcctId!}</p>
							<p>可用余额：￥${(account.tranAmount!0)?string('0.00')}</p>
							<p>冻结余额：￥${(account.frozenAmount!0)?string('0.00')}</p>
						</div>
					[/#if]
				<div class="detailchildtr" style="background-color: #F2F2F2;border-bottom: none;margin: 10px 0px 10px 0px;">
					<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont spchead">结算 账户</span></div>
				</div>
				[#list company.companyBanks as banks]
					[#if banks.bankType=1]
						<input type="hidden" name="companyBanks[${banks_index}].id" value="${banks.id!}">
						<div class="detailchildtr">
							<div class="detailchildtd"><span class="spcfont">银行名称：</span>
								<input name="companyBanks[${banks_index}].bankName" class="edinputext" type="text" value="${banks.bankName!}" required="required" readonly="readonly" disabled="disabled">
							</div>
						</div>
						<div class="detailchildtr">
							<div class="detailchildtd"><span class="spcfont">开户行：</span>
								<input name="companyBanks[${banks_index}].openingBank" class="edinputext" type="text" value="${banks.openingBank!}" required="required" readonly="readonly" disabled="disabled">
							</div>
						</div>
						<div class="detailchildtr">
							<div class="detailchildtd"><span class="spcfont">开户名称：</span>
								<input name="companyBanks[${banks_index}].creditName" class="edinputext" type="text" value="${banks.creditName!}" required="required">
							</div>
						</div>
						<div class="detailchildtr">
							<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont">银行卡号：</span>
								 <input name="companyBanks[${banks_index}].bankCardNumber" class="edinputext" type="number" value="${banks.bankCardNumber!}" required="required">
							</div>
						</div>
					[/#if]
				[/#list]
				<div class="detailchildtr" style="background-color: #F2F2F2;border-bottom: none;margin: 10px 0px 10px 0px;"">
					<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont spchead">公司基本账户</span></div>
				</div>
				[#list company.companyBanks as banks]
					[#if banks.bankType=2]
						<input type="hidden" name="companyBanks[${banks_index}].id" value="${banks.id!}">
						<div class="detailchildtr"> 
							<div class="detailchildtd"><span class="spcfont">银行名称：</span>
								<input name="companyBanks[${banks_index}].bankName" class="edinputext" type="text" value="${banks.bankName!}" required="required" readonly="readonly" disabled="disabled">
							</div>
						</div>
						<div class="detailchildtr"> 
							<div class="detailchildtd"><span class="spcfont">开户行：</span>
								<input name="companyBanks[${banks_index}].openingBank" class="edinputext" type="text" value="${banks.openingBank!}" required="required" readonly="readonly" disabled="disabled">
							</div> 
						</div>
						<div class="detailchildtr">
							<div class="detailchildtd"><span class="spcfont">开户名称：</span>
								<input name="companyBanks[${banks_index}].creditName" class="edinputext" type="text" value="${banks.creditName!}" required="required">
							</div> 
						</div>
						<div class="detailchildtr">
							<div class="detailchildtd" style="border-bottom: none;"><span class="spcfont">银行卡号：</span>
								 <input name="companyBanks[${banks_index}].bankCardNumber" class="edinputext" type="number" value="${banks.bankCardNumber!}" required="required">
							</div>
						</div>
					[/#if]
				[/#list]
				<div class="detailchildtr" style="border-bottom: none;">
					<div class="detailchildtd">
						  <input style="line-height: 25px;" class="subtype" type="submit" value="保存">
						 <!--   
						 <span class="submitjb" onclick="history.go(-1);" style="margin-left: 18px;">返回</span>
						 -->
					</div> 
				</div> 
				</form>
			</div>
		</div>
</body>
</html>